import java.util.Scanner;

public class Lianxi1 {
    public static void main(String[] args) {
        double[] scores=new double[5];
        Scanner input=new Scanner(System.in);
        for (int i=0;i<scores.length;i++){
            System.out.println("请输入第"+(i+1)+"个同学的成绩");
            scores[i]=input.nextDouble();
        }
        double leitai=scores[0];
        for (int i=0;i<scores.length;i++) {
            if (scores[i] < leitai) {
                leitai = scores[i];
            }
        }
        System.out.println("最小成绩是："+leitai);
    }
}
